package rdd.sparksql;

import scala.Serializable;

/**
 * @describe:
 * @author: 容若
 * @created: 2024-08-06 9:17
 */
public class User implements Serializable {
    private String name;
    private String id;
    private Long age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public User(String name, String id, Long age) {
        this.name = name;
        this.id = id;
        this.age = age;
    }

    public User() {}
}
